package cn.doyo.spring.test.event;

import cn.duyo.spring.context.ApplicationListener;
import cn.duyo.spring.context.event.ContextClosedEvent;

/**
 * @author du
 */
public class ContextClosedEventListener implements ApplicationListener<ContextClosedEvent> {

    @Override
    public void onApplicationEvent(ContextClosedEvent event) {
        System.out.println("关闭事件：" + this.getClass().getName());
    }
}